package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 周末及节假日表-实体
 * @author zfsn
 * @date 2023-6-13
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "周末及节假日表", description = "")
@TableName("conf_weekdays")
public class ConfWeekdays extends Model<ConfWeekdays> {

    /**
     * 
     */
    @ApiModelProperty(value = "id", notes = "")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @ApiModelProperty(value = "日期", notes = "")
    private String day;

    /**
     * 
     */
    @ApiModelProperty(value = "星期几的中文意思", notes = "")
    private String dayWeekStr;

    /**
     * 从星期日为1开始，星期六为7结束
     */
    @ApiModelProperty(value = "该日期属于星期几", notes = "从星期日为1开始，星期六为7结束")
    private Integer dayWeek;

    /**
     * 2：节假日
     */
    @ApiModelProperty(value = "1:工作日", notes = "2：节假日")
    private Integer type;

    /**
     * 
     */
    @ApiModelProperty(value = "创建人", notes = "")
    private String createBy;

    /**
     * 
     */
    @ApiModelProperty(value = "创建时间", notes = "")
    private LocalDateTime createTime;

    /**
     * 
     */
    @ApiModelProperty(value = "更新人", notes = "")
    private String updateBy;

    /**
     * 
     */
    @ApiModelProperty(value = "更新时间", notes = "")
    private LocalDateTime updateTime;

    /**
     * 0 正常 1 删除
     */
    @ApiModelProperty(value = "状态", notes = "0 正常 1 删除")
    private Integer status;

    /**
     * 
     */
    @ApiModelProperty(value = "备注", notes = "")
    private String remarks;

}